FROM openjdk:17
VOLUME /tmp
ADD ./target/cunion-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 7777
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar", "--spring.profiles.active=prd"]